package com.ruoyi.product.mapper;

import com.ruoyi.product.domain.WorkPlan;
import org.apache.ibatis.annotations.Select;

public interface PlanMapper {
    int addPlan(WorkPlan workPlan);

    @Select("select count(*) from hv_pm_work_plan where plan_code = #{planCode}")
    int existPlan(String planCode);
}
